import React from 'react'
import { Link, Outlet } from 'react-router-dom'

export default function Home() {
  return (
    <>
    <nav>
        <ul>
          <li>
            <Link to="news">News</Link>
          </li>
          <li>
            <Link to="message">Message</Link>
          </li>
        </ul>
    </nav>
    <Outlet />
    </>
  )
}
